package com.enjoylearning.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RestController;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageParams {
    //页码
    @ApiModelProperty(value = "页码")
    private Long pageNo = 0L;
    //每页记录数
    @ApiModelProperty(value = "每页记录数")
    private Long pageSize = 5L;
}
